# -- coding: utf-8 --
#上面这个解决的是中文注释报错问题

def m1():
    fibs=[0,1]
    for i in range(0,8):
        fibs.append(fibs[-2]+fibs[-1])
    print fibs

def m2(y):
    # 闭包
    def innerm2(x):
        return x
    return innerm2(y)


if __name__ == "__main__":
    # m1()
    innerm2=m2()
    print type(innerm2)
    print innerm2(2)